package com.jian.mall.produce.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jian.mall.common.utils.PageUtils;
import com.jian.mall.produce.entity.CategoryEntity;
import com.jian.mall.produce.vo.json.CatalogLevel2;
import com.jian.mall.produce.vo.json.CatalogVo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author tainanle
 * @email 12345678@gmail.com
 * @date 2022-08-10 22:48:11
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> asList);

    Long[] findCategoryPath(Long attrGroupId);

    List<CategoryEntity> getLevel1Category();

    CatalogVo<List<CatalogLevel2>> getCatalogJsonVo();
}

